﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace SqlSugarAndEntity
{
    ///<summary>
    ///分类表
    ///</summary>
    [SugarTable("catalogs")]
    public partial class catalogs
    {
           public catalogs(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
           public int Id {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Name {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? ParentId {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? Level {get;set;}

           /// <summary>
           /// Desc:
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public int? Order {get;set;}

           /// <summary>
           /// Desc:产品ID 1--网报 2--职业库 3--少儿 4--泛在
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public int? ProductId {get;set;}

           /// <summary>
           /// Desc:网报分类区分 3--3.0分类 4--4.0分类   泛在1--微分类 2--微主题  3--微读者  少儿 1--pc分类  2--移动端分类
           /// Default:1
           /// Nullable:True
           /// </summary>           
           public int? CatalogType {get;set;}

           /// <summary>
           /// Desc:创建时间
           /// Default:CURRENT_TIMESTAMP
           /// Nullable:False
           /// </summary>           
           public DateTime CreateTime {get;set;}

           /// <summary>
           /// Desc:0正常 -1删除
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public int? Status {get;set;}

           /// <summary>
           /// Desc:是否置顶  1:是  0:否
           /// Default:b'0'
           /// Nullable:True
           /// </summary>           
           public bool? IsTop {get;set;}

           /// <summary>
           /// Desc:修改时间
           /// Default:CURRENT_TIMESTAMP
           /// Nullable:True
           /// </summary>           
           public DateTime? EditDateTime {get;set;}

    }
}
